import {instance} from '../utils/request'
export const addOrEdit =(reqData)=>{
  return instance.post('code/addOrEdit', reqData,{})
}
export const findPage =(reqData)=>{
  return instance.post('code/find/page', reqData,{})
}

export const deleteAddress = (id)=>{
  return instance.delete(`code/delete/${id}`)
}

export const findCode = (id) =>{
  return instance.get(`code/find/${id}`)
}